//
//  MCLogOffApi.swift
//  MCBodyBuildingPro
//
//  Created by Renlvshijie on 2023/5/25.
//

import Foundation
import Moya

enum MCLogOffApi {
    case logOffApi
     
}

extension MCLogOffApi:TargetType {
    
    var baseURL: URL {
        return URL.init(string: Moya_baseURL)!
    }
    
    var path: String {
        switch self {
        case .logOffApi:
            return "api/app/user/getUserInfo"
       
        }
    }
    var method:Moya.Method {
        switch self {
        case .logOffApi:
            return .get
        
        }
    }
    
    var sampleData: Data {
        return Data()
    }
    
    
    var task: Task {
        switch self {
        case .logOffApi:
            return .requestPlain
     
        }
    }
    
    var headers: [String : String]? {
        return [:]
    }
    
    
}
